package com.atguigu.spring.helloworld.ref;

public class Dao {

	private String dataSource = "dbcp";

	public void setDataSource(String dataSource) {
		this.dataSource = dataSource;
	}

	public String getDataSource() {
		return dataSource;
	}

	public void save(){
		System.out.println("save by " + dataSource);
	}

	public Dao() {
		System.out.println("Dao's Constructor...");
	}

}
